<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="layui/layui.js"></script>
    <script src="js/jquery-1.8.3.js"></script>
</head>
<body>
<h1>欢迎您</h1>
    <script>
        $.ajax({
            url:'user/select',
            success:function (result) {
                console.log(result);
            }
        })
    </script>
</body>
</html>